package com.wchat.network.message.file;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

import com.wchat.network.message.Message;

@Root
public class RequestFileMessage extends Message {

	private static final long serialVersionUID = 7934093813558912424L;

	@Element
	private FileInfo info;
	
	@Override
	public byte getType() {
		return TYPE_REQUEST_FILE;
	}

	public FileInfo getInfo() {
		return info;
	}

	public void setInfo(FileInfo info) {
		this.info = info;
	}

}
